#!/bin/bash
#npm install concurrently
pid=$(ps -ef | grep "amis-admin-ui" | grep -v grep | awk '{print $2}')
if [ -n "$pid" ]; then
  kill -9 $pid
fi
echo 启动项目
nohup npm start>amis-ui.log 2>&1 &
echo 项目启动完成
